def tell_story():
    print("从前有座山")
    print("山上有座庙")
    print("庙里有个老和尚")
    print("在给小和尚讲故事")
    print("讲的是什么呢？")
    tell_story()

# tell_story()
def text1(i):
    if i ==10:
        return 10
    else:
        return i+text1(i+1)
# r = text1(1)
# print(r)

def sum2(x):
    if x >1:
        value = x + sum2(x-1)
    else:
        value = 1
    return value
# print(sum2(10))





